<head>
<title>AgBay - Registration</title>
</head>

<body>

{% block content_title %}
  <h2>Register for an account</h2>
{% endblock %}

{% block content %}
<form name = "registerForm" action= "submit" method="post"> {% csrf_token %}
    <div class="fieldWrapper">
        <label for="id_username">Username:</label><input type='text' size="10" name = "nameParam">
        <font color="red">{{ username_error }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="id_email">Email Addresss:</label><input type='text' size="30" name = "emailParam">
         <font color="red">{{ email_error }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="id_password1">Password:</label><input type='password' size="15" name = "pass1Param">
    </div>
	
    <div class="fieldWrapper">
        <label for="id_password2">Enter your password again:</label><input type='password' size="15" name = "pass2Param">
        <font color="red">{{ password_error }}</font><br />
    </div>
	
	<font color="red">{{ form_error }}</font><br />
	
    <p> <input type="submit" value="Register"/></p>

	
</form>
{% endblock %}

</body>
